<?php

namespace app\api\validate;

use think\Validate;

class Userextra extends Validate
{
    protected $rule = [
        ['user_id',        'require|number|>:0',    '请先登录|请先登录|请先登录'],
    ];

    protected $scene = [
        'detail'         => ['user_id'],
    ];
}
